//
//  MyAccountDetailController.m
//  FactorySale
//
//  Created by 主事丫环HU on 2020/8/7.
//  Copyright © 2020 主事丫环. All rights reserved.
//

#import "MyAccountDetailController.h"

@interface MyAccountDetailController ()
@property (weak, nonatomic) IBOutlet UILabel *moneyLabel;
@property (weak, nonatomic) IBOutlet UILabel *timeLabel;
@property (weak, nonatomic) IBOutlet UILabel *typeLabel;
@end

@implementation MyAccountDetailController
- (void)viewWillAppear:(BOOL)animated {
    [super viewWillAppear:animated];
    [self.navigationController setNavigationBarHidden:NO animated:animated];
}
- (void)viewDidLoad {
    [super viewDidLoad];
    [self setupUI];
}
- (void)setupUI{
    self.title = @"我的账户";
    [self.leftbutton setImage:imgname(@"left_icon") forState:(UIControlStateNormal)];
    
    self.moneyLabel.text = [NSString stringWithFormat:@"+%@",self.model.money];
    self.timeLabel.text = self.model.createDate;
    
}


@end
